package nc.ui.arap.selectedpay;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class CancelButtonListener implements ButtonListener {
  public CancelButtonListener() {
  }
  public void action(nc.ui.arap.selectedpay.ButtonEvent1 e) {
    /**@todo Implement this nc.ui.arap.selectedpay.ButtonListener method*/
    //throw new java.lang.UnsupportedOperationException("Method action() not yet implemented.");
    MainPanel parent=(MainPanel)((ARAPButton)e.getSource()).getOwner();
    parent.remove(0);
    parent.updateUI();
    parent.add(parent.getBillListPanel(),0);
    parent.changButtons(e.getButtonGroup());
    
    parent.selectedpanel.getBillCardPanelDj().getBillModel().setBodyDataVO(null);
    parent.setTitleText(parent.paneltitle);
    parent.updateUI();
  }

}
